package com.xqb.modules.domain.po;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.xqb.common.annotation.Excel;
import com.xqb.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程内容对象 les_course_content
 *
 * @author xqb
 * @date 2024-10-18
 */
public class LesCourseContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程内容id */
    private Long id;

    /** 课程介绍 */
    @Excel(name = "课程介绍")
    private String courseIntroduce;

    /** 适用人群 */
    @Excel(name = "适用人群")
    private String usePeople;

    /** 课程详情 */
    @Excel(name = "课程详情")
    private String courseDetail;

    /**
     * 部门id
     */
    @Excel(name = "部门id")
    private Long depId;

    /**
     * 逻辑删除
     */
    @TableLogic(value = "0", delval = "1")
    private Long delFlag;

    /**
     * 公告
     */
    @Excel(name = "公告")
    private String announcement;

    /**
     * 评分标准
     */
    @Excel(name = "评分标准")
    private String gradingCriteria;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCourseIntroduce() {
        return courseIntroduce;
    }

    public void setCourseIntroduce(String courseIntroduce) {
        this.courseIntroduce = courseIntroduce;
    }

    public String getUsePeople() {
        return usePeople;
    }

    public void setUsePeople(String usePeople)
    {
        this.usePeople = usePeople;
    }

    public String getCourseDetail() {
        return courseDetail;
    }

    public void setCourseDetail(String courseDetail) {
        this.courseDetail = courseDetail;
    }

    public Long getDepId() {
        return depId;
    }

    public void setDepId(Long depId) {
        this.depId = depId;
    }

    public Long getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }

    public String getAnnouncement() {
        return announcement;
    }

    public void setAnnouncement(String announcement) {
        this.announcement = announcement;
    }

    public String getGradingCriteria() {
        return gradingCriteria;
    }

    public void setGradingCriteria(String gradingCriteria) {
        this.gradingCriteria = gradingCriteria;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("courseIntroduce", getCourseIntroduce())
                .append("usePeople", getUsePeople())
                .append("courseDetail", getCourseDetail())
                .append("depId", getDepId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .append("announcement", getAnnouncement())
                .append("gradingCriteria", getGradingCriteria())
                .toString();
    }
}
